<html>
<head>
    <script src="../js/vue.js"></script>
</head>
<body>
    <h3>列表渲染</h3>
    <h4>针对数组的渲染</h4>
    <div  id="app1">
        <div v-for="(value,key,index) of  values">
                {{ key }} {{ value }},{{ index }},
        </div>
    </div>
    <h4>针对对象的渲染</h4>
    <div id="app2">
        <div v-for="(item,key,index) in items">
            值：{{item}}，键：{{key}}，索引：{{index}}
        </div>
    </div>
    <script src="app5.js"></script>
</body>
</html>